package org.ttjhome.html.struts.candidate;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.tiles.ComponentContext;
import org.apache.struts.tiles.ControllerSupport;
import org.ttjhome.html.struts.common.ActivityStatus;
import org.ttjhome.html.struts.common.GENDER;
import org.ttjhome.html.struts.common.JSPConstants;





public class CandidatesController extends ControllerSupport {
	public void execute(ComponentContext componentContext, HttpServletRequest request, HttpServletResponse resp, ServletContext servletContext)
	throws Exception{
		JSPConstants.setConstants(request, Constants.class, Constants.class.getSimpleName());
		componentContext.putAttribute(Constants.ATTR_GENDER_LIST,
				GENDER.values());
		componentContext.putAttribute(Constants.ATTR_ACTIVITY_STATUS_LIST,
				ActivityStatus.values());
	}
}

	
